import Vue from 'vue'
import Router from 'vue-router'
import modify from '@/view/modify'
import login from '@/view/login'
import user from '@/view/user'
import index from '@/view/index'
import exchange from '@/view/exchange'
import exchangeSucess from '@/view/exchangeSucess'
import modifySucess from '@/view/modifySucess'
import charge from '@/view/charge'
Vue.use(Router)
export default new Router({
	routes: [{
			path: '/index',
			name: 'index',
			component: index
		},
		{
			path: '/modify',
			name: 'modify',
			component: modify
		},
		{
			path: '/login',
			name: 'login',
			component: login
		},
		{
			path: '/user',
			name: 'user',
			component: user
		},
		{
			path: '/exchange',
			name: 'exchange',
			component: exchange
		},
		{
			path: '/exchangeSucess',
			name: 'exchangeSucess',
			component: exchangeSucess
		},
		{
			path: '/modifySucess',
			name: 'modifySucess',
			component: modifySucess
		},
		{
			path: '/charge',
			name: 'charge',
			component: charge
		}
	]
})
